#pragma once

#include <QObject>
#include<qstyleditemdelegate.h>



class MusicListDelegate  : public QStyledItemDelegate
{
	Q_OBJECT



public:
	MusicListDelegate(QObject *parent = nullptr);
	virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override;
	virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
	~MusicListDelegate();

};

